﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Projektet.View
{
    public static class TextFactory
    {
        public static string GetMenuText(int levelCount) 
        {            
            switch(levelCount)
            {
                case 1:
                    return "\n         PAUSE\nThe objective of this \ngame is to destroy the \nenemy castle.\nMore features are added\nat later levels.\nControlls:\nSpawn units with: \n1 - Pikeman\n2 - Archer \n3 - Mounted knight\nPress 'i' for more info\nClose menu with 'ESC'";                           
                case 2:
                    return "\n         PAUSE\nYou can now use \nthe catapult!\nUse 'q' and 'w' to \nincrease and \ndecrease power, \npress 'space' to shoot!";
                case 3:
                    return "\n         PAUSE\nYou now have access \nto the upgrade menu!\nSpend extra gold to\nupgrade your units.\nOpen with 'u'.";
            }
            return "";
        }

        public static string GetVictoryScreenText() 
        {
            return "You beat the evil lord \nfor the third time \nand forever vanquished \nhim to the lower reaches \nof hell! \nPress 'r' to start over.\n(Det e ju snart val, \nb'a'st att va pa den \ns'a'kra sidan!).";
        }

        public static string GetGameoverScreenText() 
        {
            return "       Game over! \nPress 'r' to restart \nfrom lvl 1";
        }

        public static string GetUpgradeText() 
        {
            return "         Upgrades\n5% increase per purchase\n1 - Pikemen hp 30:-\n2 - Archer damage 40:- \n3 - Knight AtkSpd 30:-";
        }

        public static string GetInfoText()
        {
            return "         Info\nThis game uses a \nrock paper scissor \nconcept for it's units, \nwhich goes like this: \nPikemen -> \nMounted Knights -> \nArchers";
        }
    }
}
